package io.zsy.hello.aop;

/**
 * 测试属性注入 - constructor
 *
 * @author zhangshuaiyin
 * @date 2022/4/19 21:30
 */
public class Cat {

    private String name;
    private Integer age;

    public Cat(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
